//
//  ViewController.m
//  Git_Work
//
//  Created by lanouhn on 16/7/18.
//  Copyright © 2016年 lanouhn27. All rights reserved.
//

#import "ViewController.h"

@interface ViewController ()

@end

@implementation ViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view, typically from a nib.
    NSLog(@"hahahaha");
    NSLog(@"hhhhh");
    NSLog(@"sdss");
    NSLog(@"ssdssafdsfddasf");
    NSLog(@"sdfsfs23423432");
    
    self.view.backgroundColor = [UIColor redColor];
    UIButton *btn = [UIButton buttonWithType:UIButtonTypeCustom];
    btn.frame = CGRectMake(50, 50, 100, 30);
    [btn setTitle:@"上一页" forState:UIControlStateNormal];
    [btn setTitleColor:[UIColor blackColor] forState:UIControlStateNormal];
    [self.view addSubview:btn];
    [btn addTarget:self action:@selector(handle:) forControlEvents:UIControlEventTouchUpInside];

}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

@end
